home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 April / macformat-023.iso / Shareware City / Developers / CW CDEV Framework / About CW CDEV Framework
Encoding:
Text File  |  1994-12-13  |  3.6 KB  |  49 lines  |  [ttro/ttxt]

  1. December 13, 1994
  2.  
  3. CW CDEV Framework
  4.  
  5. When I moved over to the CodeWarrior environment from Symantec C/C++ (SC),  one of the things I missed was SC’s OOP framework for writing control panels.  CW CDEV Framework is my attempt to bring a similar OOP framework for writing cdev’s to the CodeWarrior environment.
  6.  
  7. If your not familiar with the SC framework, don’t worry.  You don’t need to know anything about the SC version in order to use the CW framework.  You do, however, need to have some understanding of how to write control panels.  Inside Mac: More Macintosh Toolbox Ch. 8 is a great place to find information on writing control panels.  You’ll also need to know how to use C++ objects.  While I’ve read several books on OOP and C++ programming I’d be hard pressed to recommend any of them (sigh).  For the record though, here are some of the ones I’ve found useful:
  8.  
  9. The C++ Programming Language, Bjarne Stroustrup, Addison-Wesley, ISBN 0-201-12078-X
  10.  
  11. The Advanced C++ Book, M. T. Skinner, Silicon Press, ISBN 0-929306-10-4
  12.  
  13. The Tao of Objects, (sorry I can’t remember the authors name or ISBN #.  I loaned the book out and haven’t gotten it back :)
  14.  
  15. If you are familiar with the Symantec CDEV framework, then adjusting to the CW framework should be no problem!  The only major difference is the absence of the init and close calls.  These are replaced by the constructor and destructor calls for your cdev object.
  16.  
  17. Rather than go into a lengthy explanation on how to use the code, I’ve included a sample CDEV that uses the framework.  Hopefully it should explain things.  Note that the source files in the Sample CDEV folder have the same names as those in the Framework folder.  With the exception of CDEV.c and CDEV.h, the code contained in the other files *should be identical*.  For your projects, use the files in the Framework folder.  If you have any comments, suggestions, find bugs or have questions about either the framework or sample code please let me hear from you.  My "digital" and "analog" mail addresses are given below.
  18.  
  19. If you use the framework for a cdev, I would appreciate at least *one* of the following (your choice ;) :
  20.  
  21. •    A copy of the final product in which the cdev is used
  22. •    An acknowledgment in your credits list
  23. •    An interesting post card via "analog" mail
  24. •    A piece of "digital" mail
  25. •    A Pepsi and a smile :)
  26. •    Just the smile ;)
  27.  
  28. Please note that I have not set this source code up for PowerMac development.  Once I get a Power Mac I'll work on getting a unified set of code for producing both 68K and PowerMac cdevs.
  29.  
  30. And now a word or two (or a hundred ;) from our "Legal Staff"...
  31.  
  32. CW CDEV Framework ("The Framework") is freeware.  Please feel free to use and distribute it.  "The Framework" is not in the public domain, however.  All rights on "The Framework" are reserved by the author Matthew E. Axsom, and this document must accompany the source code whenever "The Framework" is distributed.  "The Framework" source code and sample control panel "Simple Sample" may not be sold commercially (e.g., public domain and shareware disks) without my written permission.  Exceptions are that user's groups and on-line services may distribute it as long as any costs are for the actual cost of the service (i.e., connect time or media costs).  "The Framework" is provided "As Is" without any warranties, and the author assumes no responsibility for any damage caused by the use of the source code or sample control panel.
  33.  
  34. Hope you enjoy CW CDEV Framework.  It makes my life easier, maybe it’ll help you too.
  35.  
  36. Peace,
  37.  
  38. -Chewey
  39.  
  40. Digital Mail:
  41. chewey@nesw.mv.com
  42. AOL: chewey
  43.  
  44. Analog Mail:
  45. Matthew E. Axsom
  46. New England Software Works
  47. P.O. Box 1346
  48. Keene, NH  03431-1346
  49.